﻿CREATE TABLE [dbo].[NetOperation] (
    [ID]          INT            IDENTITY (1, 1) NOT NULL,
    [FunctionID]  INT            NOT NULL,
    [Name]        NVARCHAR (20)  NOT NULL,
    [Type]        TINYINT        NOT NULL,
    [ServerID]    VARCHAR (50)   NOT NULL,
    [Description] NVARCHAR (100) NULL,
    CONSTRAINT [PK_Operation] PRIMARY KEY CLUSTERED ([ID] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作权限表', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation', @level2type = N'COLUMN', @level2name = N'ID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'功能标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation', @level2type = N'COLUMN', @level2name = N'FunctionID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作名称', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation', @level2type = N'COLUMN', @level2name = N'Name';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作类型', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation', @level2type = N'COLUMN', @level2name = N'Type';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作ID', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation', @level2type = N'COLUMN', @level2name = N'ServerID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作说明', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'NetOperation', @level2type = N'COLUMN', @level2name = N'Description';

